<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css">

    <style type="text/css">
        .pic-cont {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 233px;
            border: 1px dashed #d9d9d9;
            background-image: url(../../images/add.png);
            background-size: 50px;
            background-repeat: no-repeat;
            background-position: center;
            border-radius: 6px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .J-user-header-img {
            width: auto;
            height: 100%;
        }
    </style>
</head>

<body class="tbody">
    <form class="layui-form layui-form-pane layui-container layui-col-space10" lay-filter="dataform">
        <input type="text" class="layui-input" autocomplete="off" name="id" style="display: none;">
        <div class="layui-col-xs12">
            <div class="layui-form-item">
                <label class="layui-form-label">活动名称</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" autocomplete="off" lay-verify="required" name="name"
                        placeholder="请输入活动名称">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">报名截止</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" autocomplete="off" lay-verify="required" id="dt1">
                    <div class="tips">截止时间过后才可开奖</div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">开奖时间</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" autocomplete="off" lay-verify="required" id="dt2">
                    <div class="tips">仅作为客户端展示</div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">奖票价格</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" autocomplete="off" lay-verify="number" name="price"
                        placeholder="珠珠币">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">发行量</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" autocomplete="off" lay-verify="number" name="circulation">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">上传banner</label>
                <input type="file" id="J-update-img-file" style="display: none" />
                <div class="pic-cont">
                </div>
            </div>
        </div>
        <div class="layui-input-block layui-right" style="position: fixed; bottom: 13px; right: 13px;">
            <button class="layui-btn " lay-submit="" type="button" lay-filter="save" data-type="editPrize" id="next" >下一步</button>
        </div>
    </form>
    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../js/jquery.form.js"></script>
    <script type="text/javascript" src="../../layui/layui.js"></script>
	<script type="text/javascript" src="../../js/jsCtl.js"></script>
    <script type="text/javascript" src="../../js/compressImg.js"></script>
    <script type="text/javascript" src="edit.js"></script>
</body>

</html>